luci-proto-modemmanager: add support for specifying signal refresh rate
authorNicholas Smith <[email protected]>
Thu, 7 Jan 2021 11:57:37 +0000 (21:57 +1000)
committerNicholas Smith <[email protected]>
Thu, 7 Jan 2021 12:07:24 +0000 (22:07 +1000)
Signed-off-by: Nicholas Smith <[email protected]>
protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js

index 646e10a948c13457b209e1972a3761f72deaa7e6..4a6913e8bd097700a70a7b1612ed03a805e40b5c 100644 (file)
@@ -121,6 +121,9 @@ return network.registerProtocol('modemmanager', {
                o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
                o.datatype    = 'max(9200)';
                
+               o = s.taboption('general', form.Value, 'signalrate', _('Signal Refresh Rate'), _("In seconds"));
+               o.datatype = 'uinteger';
+               
                s.taboption('general', form.Value, 'metric', _('Gateway metric'));
 
        }